
<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
class whyshopseckill_mdl_yuyue extends dbeav_model
{
  public $defaultOrder = 'yuyue_id DESC';
  public function save(&$data,$mustUpdate = null,$mustInsert = false){
    if(!$data['yuyue_id'])
    {
      $data['add_time']=time();
    }
    else{
    }
   return parent::save($data,$mustUpdate);
 }

 public function insert(&$data){

  return parent::insert($data);
}

public function getList($cols='*', $filter='null', $offset=0, $limit=-1, $orderby=null)
{
    $list = parent::getList($cols, $filter, $offset, $limit, $orderby);

    return $list;
}

}//End Class
